package com.jeff.tianti.cms.entity;

import com.jeff.tianti.common.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "questions_answers")//问答管理表
public class QuestionsAnswers extends BaseEntity {
    private static final long serialVersionUID = 78299521973185432L;
    @Column(name = "uid")
    private String uid;//用户id
    @Column(name = "text")
    private String text;//咨询内容
    @Column(name = "reply")
    private String reply;//回复
    @Column(name = "reply_date")
    private Date replyDate;//回复时间
    @Column(name = "state")
    private String state;//0->咨询中 1->已完成

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public Date getReplyDate() {
        return replyDate;
    }

    public void setReplyDate(Date replyDate) {
        this.replyDate = replyDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
